package com.bydq.patrolsystem.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 写代码是不可能写代码的啦~~
 * @since 2020-05-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsInspectorDetail implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 主表任务ID
     */
    @TableField("taskId")
    private Long taskId;

    @TableField("inspectorCode")
    private String inspectorCode;

    @TableField("inspectorName")
    private String inspectorName;

    /**
     * 创建时间
     */
    @TableField(value = "creationTime",fill = FieldFill.INSERT)
    private Date creationTime;

    @TableField("createdBy")
    private String createdBy;

    /**
     * 最后修改时间
     */
    @TableField(value = "lastUpdateTime",fill = FieldFill.INSERT_UPDATE)
    private Date lastUpdateTime;


}
